Skip to content

feat: adding npm stage endpoints for managing staged package versions#54

Open
shmam wants to merge 1 commit intomainfrom
stage-api
Open

feat: adding npm stage endpoints for managing staged package versions#54
shmam wants to merge 1 commit intomainfrom
stage-api

Conversation

@shmam
Copy link
Copy Markdown
Contributor

@shmam shmam commented May 6, 2026

Summary

This PR introduces six new public endpoints for supporting managing staged package versions. These endpoint support viewing, filtering, approving, rejecting and inspecting staged package versions on the npm registry.

E1. GET https://registry.npmjs.org/-/stage

Gets the list of all staged package versions that the user has access to

E2. POST https://registry.npmjs.org/-/stage/package/{package-name}

Creates a staged package version

E3. GET https://registry.npmjs.org/-/stage/{stage-id}

Gets a specific staged package version

E4. DELETE https://registry.npmjs.org/-/stage/{stage-id}

Reject a staged staged package version

E5. POST https://registry.npmjs.org/-/stage/{stage-id}/approve

Approve a staged package version to published

E6. GET https://registry.npmjs.org/-/stage/{stage-id}/tarball

Gets a staged package version tarball

References

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 6, 2026

🚀 Preview deployed!

You can view the preview of your changes here: https://npm-1dfc93bff1-61146453.drafts.github.io/

This preview will be updated automatically when you push new commits to this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants